package com.jingdun.sport.cash

import com.losttemple.sql.language.operator.DbSource
import com.losttemple.sql.language.operator.TableConfigure
import com.losttemple.sql.language.types.SetRef

class Withdrawals(set: (TableConfigure.()->Unit)-> SetRef) :
        DbSource(set { tableName("withdrawals") }) {
    var id = intColumn("id")
    var applyTime = dateColumn("apply_time")
    var account = stringColumn("account")
    var accountOwner = stringColumn("account_owner")
    var user = stringColumn("user")
    var status = intColumn("status")
    var amount = doubleColumn("amount")
    var note = stringColumn("note")
}